Skip to content

Community page lists its sub-pages#14

Merged
HeyItsGilbert merged 1 commit into
mainfrom
community-subpage-listing
Jun 20, 2026
Merged

Community page lists its sub-pages#14
HeyItsGilbert merged 1 commit into
mainfrom
community-subpage-listing

Conversation

@HeyItsGilbert

Copy link
Copy Markdown
Member

Problem

The /community page rendered as an empty stub — just the header, no body. The default list.html layout ranges over child content pages, but the community section has none. Its sub-pages (Learning, Calendar, Authors, Forums, Discord Archive) only existed in the nav dropdown via the community menu.

Change

  • Add themes/powershell-community/layouts/community/list.html, a section-specific layout that renders the community menu entries as a card grid (keeping the section's intro text and header styling).
  • Enrich the community menu entries in hugo.yaml with icon and description params (and external: true on Forums so it opens in a new tab).

Because the page is driven off .Site.Menus.community, future sub-pages only need a menu entry to show up in both the nav dropdown and the page body — they stay in sync automatically.

Testing

  • hugo builds clean (no new warnings).
  • Verified the rendered /community/index.html contains all five cards with correct icons and the external Forums link.

🤖 Generated with Claude Code

The /community stub rendered empty because the default list layout
ranges over child content pages, of which the section has none — its
sub-pages only existed in the nav dropdown menu.

Add a community-specific list layout that renders the `community` menu
entries as a card grid, and enrich those menu entries with icon and
description params so the cards are self-documenting. New sub-pages now
only need a menu entry to appear in both the nav and the page body.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@netlify

netlify Bot commented Jun 19, 2026

Copy link
Copy Markdown

Deploy Preview for powershellorg ready!

Name Link
🔨 Latest commit b33b104
🔍 Latest deploy log https://app.netlify.com/projects/powershellorg/deploys/6a35d7f44b289b00082ca069
😎 Deploy Preview https://deploy-preview-14--powershellorg.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@HeyItsGilbert HeyItsGilbert enabled auto-merge (squash) June 20, 2026 00:00
@HeyItsGilbert HeyItsGilbert merged commit 4484d83 into main Jun 20, 2026
5 checks passed
@HeyItsGilbert HeyItsGilbert deleted the community-subpage-listing branch June 20, 2026 00:10
@HeyItsGilbert HeyItsGilbert linked an issue Jun 20, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Empty Community Page

2 participants